interface Pub{
    void Notify(string strType, string strMsg); 
};
/////////////////////////////////
sendNotify

// From Robot
strType: "Robot"
strMsg: {}

// Client
strType: "Client"
strMsg: {}

// Remote
strType: "Remote"
strMsg: {}

////////////// strMsg ///////////////////

// 语音识别, Robot
{
	"type": "asr",
	"data": {
		"confidence":90,
		"result":"xxxx",
		"online":true/false
	}
}

// 语音回答, Robot
{
	"type": "answer",
	"data": {
		"engine":"tuling",
		"result":"xxxx"
	}
}

// 传感器, Robot
{

	"type": "sensor",
	"data": {
		"chaosheng": [0, 0, 0, 0, 0...], //超生波数据
		"hongwai": [0, 0, 0, 0, 0...], //红外数据
		"remin": [0, 0, 0, 0, 0...], //碰撞传感器数据
		"hit": [0,0,0,0], //摄像头数据
		"touch": [0, 0, 0, 0, 0, 0], //触摸传感器数据
		"battery": [0, 0], //电池数据
		"motor_disk": [0, 0], //码盘数据
		"motor_over": [0, 0] //电机过载数据
	}
}

// 错误信息, Robot
{
	"type": "error",
	"data": {
		"info":"xxxx"
	}
}

////////////////////////////////

// 签到人员信息, Client
{
	"type":"sign",
    "data":{
        "name":"江小富",//姓名
        "sex":"F/M",//性别
        "sort":"vip",//类别
        "state":true/false,//true 已签到，false 未签到
        "pic":"base64"//照片信息
    }
}

//远程介入(每三秒发送一次，停止发送协议即取消介入)
{
	"type":"intervene"
	"data":{}
}


//模块切换, Remote
{
	"type":"module",
    "data":{
        "name":"迎宾指引"      //模块切换（智能签到，迎宾指引，精准宣传，智能咨询）
	}
}